import Index from '../components/index/index';
import Register from '../components/register/register';
import MvDetail from '../components/mvDetail/mvDetail';
import Mv from '../components/mv/mv';
import Music from '../components/music/music';
import MuiscDetail from '../components/muiscDetail/muiscDetail';
import MusicPlay from '../components/musicPlay/musicPlay';
import Singer from '../components/singer/singer';

const routerMap = [
  { path: "/index", component: Index, auth: true },
  { path: "/register", component: Register },
  { path: "/mvDetail/:id", component: MvDetail },
  { path: "/mv", component: Mv },
  { path: "/music", component: Music },
  { path: "/muiscDetail/:id", component: MuiscDetail },
  { path: "/musicPlay/:id", component: MusicPlay },
  { path: "/singer", component: Singer },
]

export default routerMap;